deleteAll

public abstract int deleteAll()

Deletes all the cookies from the cookie store and returns the number of deleted cookies.

Important: this method makes the cookie changes in memory. To keep these changes for persistent cookies after application restart you must invoke the persist method before application exit.

Throws

when the profile is deleted or its engine is closed


public abstract int deleteAll(TimeRange range)

Deletes all the cookies from the cookie store created in the given time range and returns the number of deleted cookies.

Important: this method makes the cookie changes in memory. To keep these changes for persistent cookies after application restart you must invoke the persist method before application exit.

Since

8.8.0

Throws

when the profile is deleted or its engine is closed